<!DOCTYPE html>
<html ng-app="quizApp">
<head>
    <title>Quizzes list</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/animation.css"/>
</head>
<body>
<div class="container" ng-controller="quizzesController as qCtrl">
    <h3 class="text-center">Lista Quizów</h3>
    <div class="col-sm-12 col-md-6 col-lg-6 col-md-offset-3 col-lg-offset-3">
        <div class="btn btn-sm btn-default btn-block" ng-repeat="quiz in qCtrl.list_quizzes()" ng-click="qCtrl.open_quiz(quiz)">{{ quiz }}</div>
    </div>
</div>
<script type="text/javascript" src="js/angular.js" ></script>
<script type="text/javascript" src="js/engine.js" ></script>
<script type="text/javascript" src="js/angular-animate.js"></script>
<script type="text/javascript" src="js/resource.js"></script>
<script type="text/javascript" src="js/engine.js" ></script>
</body>
</html>